package com.leinao.model.dto;

import com.leinao.category.dto.CategoryRelationDto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author: huopengfei
 * @Date: 2019/6/4 18:17
 * @Description:
 * @Version 1.0
 */
public class ProjectDto implements Serializable {
    /**
      * 项目ID
      */
    private Long id;
    /**
      * 项目名称
      */
    private String projectName;
    /**
     * 简介
     */
    private String profile;
    /**
     * 项目复制数
     */
    private Integer copyNumber;

    /**
     * 项目公开图片
     */
    private String fileImage;
    private String language;
    private String algorithm;

    /**
     * 分类信息
     */
    private List<CategoryRelationDto> categoryList = new ArrayList<>();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public Integer getCopyNumber() {
        return copyNumber;
    }

    public void setCopyNumber(Integer copyNumber) {
        this.copyNumber = copyNumber;
    }

    public String getFileImage() {
        return fileImage;
    }

    public void setFileImage(String fileImage) {
        this.fileImage = fileImage;
    }

    public List<CategoryRelationDto> getCategoryList() {
        return categoryList;
    }

    public void setCategoryList(List<CategoryRelationDto> categoryList) {
        this.categoryList = categoryList;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getAlgorithm() {
        return algorithm;
    }

    public void setAlgorithm(String algorithm) {
        this.algorithm = algorithm;
    }

    @Override
    public String toString() {
        return "ProjectDto{" +
                "id=" + id +
                ", projectName='" + projectName + '\'' +
                ", profile='" + profile + '\'' +
                ", copyNumber=" + copyNumber +
                ", fileImage='" + fileImage + '\'' +
                ", language='" + language + '\'' +
                ", algorithm='" + algorithm + '\'' +
                ", categoryList=" + categoryList +
                '}';
    }
}
